VS CodeでMarkDownのシンタックスカラーを変更する
VS CodeでMarkDownのシンタックスカラーを変更するには、以下のようなsettingsを記述する。
code:settings.json
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "heading.1.markdown entity.name.section.markdown",
"settings": {
"foreground": "#4d85c3",
}
},
{
"scope": "heading.2.markdown entity.name.section.markdown",
"settings": {
"foreground": "#389674",
}
},
{
"scope": "heading.3.markdown entity.name.section.markdown",
"settings": {
"foreground": "#b0be1e",
}
},
{
"scope": "heading.4.markdown entity.name.section.markdown",
"settings": {
"foreground": "#8594c8",
}
},
{
"scope": "heading.5.markdown entity.name.section.markdown",
"settings": {
"foreground": "#f76328",
}
},
{
"scope": "heading.6.markdown entity.name.section.markdown",
"settings": {
"foreground": "#fccf3e",
}
},
]
}
[Color Markdown Headers by Level · Issue #88841 · microsoft/vscode · GitHub https://gith
"foreground": "#fccf3e",とかに"fontStyle": "bold",とかを追加しておくと、ぐっと見やすくなる。Ulyssesっぽい。